<template>
  <div>管线============{{ ComInfoData }}/////////////{{ datainfo.sttp }}</div>

</template>

<script>
export default {
  data() {
    return {
      datainfo: {},
    };
  },
  props: {
    ComInfoData: {
      type: String,
      default: () => "",
    },
  },
  watch: {
    ComInfoData(newval, oldval) {
      console.log(newval);
      let data = JSON.parse(newval);
      this.datainfo = data;
      //   console.log(data, "ComInfoData");
    },
  },
};
</script>

<style></style>
